﻿using System.Drawing;
using System.Windows.Forms;

namespace ShadeTree.Binding.Elements
{
    public class LabelElement : TextEditingElement<Label>
    {
        public LabelElement(Accessor accessor, Label control) : base(accessor, control)
        {
        }


        protected override void setTheAlignmentToTheRight(Label control)
        {
            control.TextAlign = ContentAlignment.MiddleRight;
        }

        protected override void setTheMaximumLength(int length)
        {
        }
    }
}